<div class='span12'>
	<!-- HEADER -->
	<div class='row-fluid'>
		<div class='span12'>
			<div class='page-header'>

				<h1 class="span8">
					<i class='icon-bullhorn'></i> <span>LISTINGS</span>
				</h1>

			</div>
		</div>
	</div>

	<!-- END OF HEADER -->


	<div class='row-fluid'>
		<div class="span12 box bordered-box blue-border"
			style="margin-bottom: 0;">
			<div class="box-header blue-background">
				<div class="title">
					View Listing :
					<?= $post->title;?>
				</div>
				<div class="actions">
					<a href="#" class="btn box-remove btn-mini btn-link"><i
						class="icon-remove"></i> </a> <a href="#"
						class="btn box-collapse btn-mini btn-link"><i></i> </a>
				</div>
			</div>
			<div class="box-content">
				<form accept-charset="<?= Settings::get('en','charecter_set');?>"
					action="<?= URL::current();?>" class="form form-horizontal"
					method="post">
	

					<div class="control-group">
					<span class="pull-right "><a class="text text-success" href="<?= URL::base();?>/admin/listings/edit/<?= $post->id;?>">Edit Listing</a></span>
					</div>		
					<hr class="hr-normal">
					<div class="control-group">
						<div class="span8">
							<label class="control-label"><strong>Business Title :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->title;?>
								</label>
							</div>
						</div>

						<div class="span4">
							<div class="controls">
								<img width="100px" height="100px"
									src="<?= Url::base(); ?>/storage/uploads/logos/<?= $post->logo;?>"
									title="Site Logo">

							</div>
						</div>



					</div>
					<legend>Category Information </legend>

					<div class="control-group">
						<label class="control-label"><strong>Keywords :</strong>
						</label>
						<div class="controls">
							<?php foreach (Terms::category($post->id) as $cat): ?>
							<span class="badge"><?= Categories::find($cat->value)->name; ?>,
							</span>
							<?php endforeach; ?>


						</div>
					</div>

					<legend>Address Information </legend>
					<div class="control-group">
						<label class="control-label"><strong>Street :</strong>
						</label>
						<div class="controls">
							<label class="radio inline"> <?= $post->address1;?>
							</label>
						</div>
					</div>

					<div class="control-group">
						<label class="control-label"><strong>Address (2) : </strong> </label>
						<div class="controls">
							<label class="radio inline"><?= $post->address2;?> </label>
						</div>
					</div>


					<div class="control-group">
						<label class="control-label"><strong>Zip Code :</strong>
						</label>
						<div class="controls">
							<label class="radio inline"> <?= $post->zip_code;?>
							</label>

						</div>
					</div>

					<div class="control-group">
						<label class="control-label"><strong>Locations :</strong>
						</label>
						<div class="controls">
							<?php foreach (Terms::location($post->id) as $loc): ?>
							<span class="badge"><?= Locations::find($loc->value)->name; ?>, </span>
							<?php endforeach; ?>

							<span class="badge"><?= Settings::get('en', 'default_location'); ?>
							</span>

						</div>
					</div>
					<div class="control-group">
						<label class="control-label"><strong>Map :</strong>
						</label>
						<div class="controls">
							<div class="map">
								<?php echo $map['js']; ?>
								<?php echo $map['html']; ?>
							</div>
						</div>
					</div>
					<legend>
						Contact Information <small class="text text-success"> : Contact information of your business
							i.e Phone, Fax, Email etc</small>
					</legend>

					<div class="control-group">
						<div class="span6">
							<label class="control-label"><strong>Contact No (Primary) :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->phone1;?>
								</label>

							</div>
						</div>

						<div class="span6">
							<label class="control-label"><strong>Contact No (Additional) :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->phone2;?>
								</label>

							</div>
						</div>
					</div>
					<div class="control-group">
						<div class="span6">
							<label class="control-label"><strong>Email :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->email;?>
								</label>
							</div>
						</div>

						<div class="span6">
							<label class="control-label"><strong>Website :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->website;?>
								</label>
							</div>
						</div>
					</div>
					<div class="control-group">
						<div class="span6">
							<label class="control-label"><strong>Fax :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->fax;?>
								</label>
							</div>
						</div>

						<div class="span6">
							<label class="control-label"><strong>Toll Free :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->tollfree;?>
								</label>
							</div>
						</div>
					</div>

					<legend>
						Contact Persons <small class="text text-success"> : List of Contact persons, to whome
							visitor can contact for further informations</small>
					</legend>

					<div class="control-group">
						<div class="span6">
							<label class="control-label"><strong>Name :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->contact_name;?>
								</label>
							</div>
						</div>

						<div class="span6">
							<label class="control-label"><strong>Contact No :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->contact_no;?>
								</label>

							</div>
						</div>
					</div>
					<div class="control-group">
						<div class="span6">
							<label class="control-label"><strong>Name :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->contact_name2;?>
								</label>
							</div>
						</div>

						<div class="span6">
							<label class="control-label"><strong>Contact No :</strong>
							</label>
							<div class="controls">
								<label class="radio inline"> <?= $post->contact_no2;?>
								</label>
							</div>
						</div>
					</div>
					<hr class="hr-normal">

					<div class="control-group">
						<label class="control-label"><strong>Description :</strong>
						</label>
						<div class="controls">
							<label class="radio inline">
								<p>
									<?= $post->description;?>
								</p>
							</label>

						</div>
					</div>

					<div class="control-group">
						<label class="control-label"><strong>Product and Services :</strong>
						</label>
						<div class="controls">
							<label class="radio inline"> <?= $post->services;?>
							</label>

						</div>
					</div>




				</form>
			</div>
		</div>
	</div>


	<!-- END OF CONTENT -->
</div>



